package com.toobigtofail
{
	import net.flashpunk.Entity;
	import net.flashpunk.Graphic;
	import net.flashpunk.Mask;
	
	public class P2PEntity extends Entity
	{
		protected static var _nextId:uint = 0;
		protected static var _isP2PMaster:Boolean = false;
		
		public static var p2pEntityData:Array = new Array;
		
		public var p2pId:uint = 0;
		
		public function autoAssignP2PId():uint {
			p2pId = _nextId++;
			return p2pId;
		}
	}
}